package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 缴费信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2024-06-21 14:50:30
 */
@TableName("jiaofeixinxi")
public class JiaofeixinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public JiaofeixinxiEntity() {
		
	}
	
	public JiaofeixinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 药单编号
	 */
					
	private String yaodanbianhao;
	
	/**
	 * 图片
	 */
					
	private String tupian;
	
	/**
	 * 用户名
	 */
					
	private String yonghuming;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 挂号费
	 */
					
	private Double guahaofei;
	
	/**
	 * 看诊费
	 */
					
	private Double kanzhenfei;
	
	/**
	 * 检查费
	 */
					
	private Double jianchafei;
	
	/**
	 * 住院费
	 */
					
	private Double zhuyuanfei;
	
	/**
	 * 药品费
	 */
					
	private Double yaopinfei;
	
	/**
	 * 总金额
	 */
					
	private Double zongjine;
	
	/**
	 * 备注
	 */
					
	private String beizhu;
	
	/**
	 * 缴费时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date jiaofeishijian;
	
	/**
	 * 账号
	 */
					
	private String zhanghao;
	
	/**
	 * 医生姓名
	 */
					
	private String yishengxingming;
	
	/**
	 * 是否支付
	 */
					
	private String ispay;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：药单编号
	 */
	public void setYaodanbianhao(String yaodanbianhao) {
		this.yaodanbianhao = yaodanbianhao;
	}
	/**
	 * 获取：药单编号
	 */
	public String getYaodanbianhao() {
		return yaodanbianhao;
	}
	/**
	 * 设置：图片
	 */
	public void setTupian(String tupian) {
		this.tupian = tupian;
	}
	/**
	 * 获取：图片
	 */
	public String getTupian() {
		return tupian;
	}
	/**
	 * 设置：用户名
	 */
	public void setYonghuming(String yonghuming) {
		this.yonghuming = yonghuming;
	}
	/**
	 * 获取：用户名
	 */
	public String getYonghuming() {
		return yonghuming;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：挂号费
	 */
	public void setGuahaofei(Double guahaofei) {
		this.guahaofei = guahaofei;
	}
	/**
	 * 获取：挂号费
	 */
	public Double getGuahaofei() {
		return guahaofei;
	}
	/**
	 * 设置：看诊费
	 */
	public void setKanzhenfei(Double kanzhenfei) {
		this.kanzhenfei = kanzhenfei;
	}
	/**
	 * 获取：看诊费
	 */
	public Double getKanzhenfei() {
		return kanzhenfei;
	}
	/**
	 * 设置：检查费
	 */
	public void setJianchafei(Double jianchafei) {
		this.jianchafei = jianchafei;
	}
	/**
	 * 获取：检查费
	 */
	public Double getJianchafei() {
		return jianchafei;
	}
	/**
	 * 设置：住院费
	 */
	public void setZhuyuanfei(Double zhuyuanfei) {
		this.zhuyuanfei = zhuyuanfei;
	}
	/**
	 * 获取：住院费
	 */
	public Double getZhuyuanfei() {
		return zhuyuanfei;
	}
	/**
	 * 设置：药品费
	 */
	public void setYaopinfei(Double yaopinfei) {
		this.yaopinfei = yaopinfei;
	}
	/**
	 * 获取：药品费
	 */
	public Double getYaopinfei() {
		return yaopinfei;
	}
	/**
	 * 设置：总金额
	 */
	public void setZongjine(Double zongjine) {
		this.zongjine = zongjine;
	}
	/**
	 * 获取：总金额
	 */
	public Double getZongjine() {
		return zongjine;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}
	/**
	 * 设置：缴费时间
	 */
	public void setJiaofeishijian(Date jiaofeishijian) {
		this.jiaofeishijian = jiaofeishijian;
	}
	/**
	 * 获取：缴费时间
	 */
	public Date getJiaofeishijian() {
		return jiaofeishijian;
	}
	/**
	 * 设置：账号
	 */
	public void setZhanghao(String zhanghao) {
		this.zhanghao = zhanghao;
	}
	/**
	 * 获取：账号
	 */
	public String getZhanghao() {
		return zhanghao;
	}
	/**
	 * 设置：医生姓名
	 */
	public void setYishengxingming(String yishengxingming) {
		this.yishengxingming = yishengxingming;
	}
	/**
	 * 获取：医生姓名
	 */
	public String getYishengxingming() {
		return yishengxingming;
	}
	/**
	 * 设置：是否支付
	 */
	public void setIspay(String ispay) {
		this.ispay = ispay;
	}
	/**
	 * 获取：是否支付
	 */
	public String getIspay() {
		return ispay;
	}

}
